home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / misc / libx11inc.lha / X11 / Xm / MessageBP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-13  |  3.0 KB  |  116 lines

  1. /* 
  2.  * (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
  3.  * ALL RIGHTS RESERVED
  4. */ 
  5. /*   $RCSfile: MessageBP.h,v $ $Revision: 1.17 $ $Date: 92/05/14 12:53:58 $ */
  6. /*
  7. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  8. /*
  9. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  10. #ifndef _XmessageP_h
  11. #define _XmessageP_h
  12.  
  13. #include <Xm/BulletinBP.h>
  14. #include <Xm/MessageB.h>
  15.  
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19.  
  20. /*  New fields for the MessageBox widget class record  */
  21.  
  22. typedef struct
  23. {
  24.    int mumble;   /* No new procedures */
  25. } XmMessageBoxClassPart;
  26.  
  27.  
  28. /* Full class record declaration */
  29.  
  30. typedef struct _XmMessageBoxClassRec
  31. {
  32.    CoreClassPart             core_class;
  33.    CompositeClassPart        composite_class;
  34.    ConstraintClassPart       constraint_class;
  35.    XmManagerClassPart        manager_class;
  36.    XmBulletinBoardClassPart  bulletin_board_class;
  37.    XmMessageBoxClassPart     message_box_class;
  38. } XmMessageBoxClassRec;
  39.  
  40. externalref XmMessageBoxClassRec xmMessageBoxClassRec;
  41.  
  42.  
  43. /* New fields for the MessageBox widget record */
  44.  
  45. typedef struct
  46. {
  47.     unsigned char           dialog_type;
  48.     unsigned char           default_type;
  49.     Boolean            internal_pixmap;
  50.     Boolean                 minimize_buttons;
  51.  
  52.     unsigned char           message_alignment;
  53.     XmString                message_string;
  54.     Widget                  message_wid;
  55.  
  56.     Pixmap                  symbol_pixmap;
  57.     Widget                  symbol_wid;
  58.  
  59.     XmString                ok_label_string;
  60.     XtCallbackList          ok_callback;
  61.     Widget                  ok_button;
  62.  
  63.     XmString                cancel_label_string;
  64.     XtCallbackList          cancel_callback;
  65.  
  66.     XmString                help_label_string;
  67.     Widget                  help_button;
  68.  
  69.     Widget                  separator;
  70.  
  71. } XmMessageBoxPart;
  72.  
  73.  
  74. /****************************************************************
  75.  *
  76.  * Full instance record declaration
  77.  *
  78.  ****************************************************************/
  79.  
  80. typedef struct _XmMessageBoxRec
  81. {
  82.     CorePart             core;
  83.     CompositePart        composite;
  84.     ConstraintPart       constraint;
  85.     XmManagerPart        manager;
  86.     XmBulletinBoardPart  bulletin_board; 
  87.     XmMessageBoxPart     message_box;
  88. } XmMessageBoxRec;
  89.  
  90.  
  91. /********    Private Function Declarations    ********/
  92. #ifdef _NO_PROTO
  93.  
  94. extern XmGeoMatrix _XmMessageBoxGeoMatrixCreate() ;
  95. extern Boolean _XmMessageBoxNoGeoRequest() ;
  96.  
  97. #else
  98.  
  99. extern XmGeoMatrix _XmMessageBoxGeoMatrixCreate( 
  100.                         Widget wid,
  101.                         Widget instigator,
  102.                         XtWidgetGeometry *desired) ;
  103. extern Boolean _XmMessageBoxNoGeoRequest( 
  104.                         XmGeoMatrix geoSpec) ;
  105.  
  106. #endif /* _NO_PROTO */
  107. /********    End Private Function Declarations    ********/
  108.  
  109.  
  110. #ifdef __cplusplus
  111. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  112. #endif
  113.  
  114. #endif /* _XmMessage_h */
  115. /* DON'T ADD ANYTHING AFTER THIS #endif */
  116.